/*    */ package com.equipmentmanage.service.impl;
/*    */ 
/*    */ import com.equipmentmanage.dao.DepartmentDao;
import com.equipmentmanage.model.Department;
import com.equipmentmanage.model.PageBean;
import com.equipmentmanage.service.DepartmentService;

/*    */ import java.util.List;
/*    */ import javax.annotation.Resource;
import org.springframework.stereotype.Service;
/*    */ 
/*    */ @Service("departmentService")
/*    */ public class DepartmentServiceImpl
/*    */   implements DepartmentService
/*    */ {
/*    */ 
/*    */   @Resource
/*    */   private DepartmentDao departmentDao;
/*    */ 
/*    */   public void add(Department department)
/*    */   {
/* 26 */     this.departmentDao.add(department);
/*    */   }
/*    */ 
/*    */   public void update(Department department) {
/* 30 */     this.departmentDao.update(department);
/*    */   }
/*    */ 
/*    */   public void delete(int id) {
/* 34 */     this.departmentDao.delete(id);
/*    */   }
/*    */ 
/*    */   public List<Department> find(PageBean pageBean, Department s_department) {
/* 38 */     return this.departmentDao.find(pageBean, s_department);
/*    */   }
/*    */ 
/*    */   public int count(Department s_department) {
/* 42 */     return this.departmentDao.count(s_department);
/*    */   }
/*    */ 
/*    */   public Department loadById(int id) {
/* 46 */     return this.departmentDao.loadById(id);
/*    */   }
/*    */ }

/* Location:           C:\Users\arcgis\Desktop\新建文件夹\a0\[www.java1234.com]《SpringMvc设备管理系统》第零讲源码及文档\EquipmentSys\WEB-INF\classes\
 * Qualified Name:     com.java1234.service.impl.DepartmentServiceImpl
 * JD-Core Version:    0.6.1
 */